#include "Person_AI_Character.h"


Person_AI_Character::Person_AI_Character()
{
	P_Location_x = 0;
	P_Location_y = 0;
	P_pid = "";
	P_oid = "";
}

void Person_AI_Character::PersonMoveTo(string i_oid, string i_pid, int i_x, int i_y, time_t i_time)
{
	cout << "Person Move X:" << i_x << endl;
	cout << "Person Move Y:" << i_y << endl;
	cout << "Person Move OID:" << i_oid << endl;
	cout << "Person Move PID:" << i_pid << endl;
	cout << "Person Move Time:" << i_time << endl;
}


bool Person_AI_Character::PersonTimeOut(time_t i_time,int timeoutValue)
{
	if (i_time - P_ts_time > timeoutValue)
	{
		return true;
	}
	return false;
}




